home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel
/
CAROUSEL.cdr
/
mactosh
/
utildsk
/
diskcat1.sit
/
diskcat doc
next >
Wrap
Text File
|
1985-09-17
|
3KB
|
55 lines
DiskCat
-------
Author: Craig Vaughan, Software Sorcery Inc.
DiskCat is a program that creates a formatted text file containing information
about the files on the diskettes in your Macintosh library. The file is format-
ted in such a way as to be used as input to a program such as Microsoft File or
a program written in Microsoft BASIC.
The program either requires the use of two disk drives with either 128k or 512k
of memory. If you have a one drive system, you can still run the program if you
have 512k and a RAM disk program.
Place the program, with a set of system files (Finder, System, Clipboard, etc.)
into your second drive (or load them into your RAM disk). Double click on the
program's icon to start it up. You will be prompted for the name to call your
output file (the default is Disk Library) with the standard save dialog. Next,
you will be asked to specify a location field for the batch of diskettes you
are processing. The location field is a tag to help you locate where the disk-
ette containing a particular file is normally kept. I use the Micro 10 Flip &
File boxes to store my diskettes and give each box a name such as utilities,
communications, etc. I enter that name as I process each box. You can change
the location field during the course of the program by selecting the Location
menu or by pressing the command key and L at the same time.
After you have entered the location field, the program will eject any disk cur-
rently in drive 1. At this point, you can simply insert the first diskette you
want to process and the program will read the directory of that diskette and
write the file information out to your output file and also display it on the
screen. After it processes all the files on a given diskette, it will then
eject it and wait for you to insert another one.
While the program is waiting for a diskette to be inserted, you can pull down
any of the menus or enter a command key sequence. Desk accessories are support-
ed by the program. To exit the program, simply pull down the File menu and se-
lect Quit or press the command and Q keys together.
The information output by the program consists of 5 fields of information:
1) VolName - The name of the diskette.
2) FileName - The name of the file.
3) Type - The Finder file type.
4) Creator - The Finder Creator type.
5) Location - The user provided location field.
The fields are surrounded by quotes (") and are separated either by the tab
character (ASCII 9) or by commas (,). The program defaults to delimiting by
tabs which is what MS File expects fields in text files to be separated by. You
can use the Delimiter menu to change to commas (or back to tabs) anytime the
program is waiting for a disk to be inserted.
DiskCat was developed using the Apple MDS 68000 development system. The source
code for the program is available on our ABBS at (703) 471-0610.